#-*- coding: utf-8 -*-


a=0
b=0
try:
	c = a / b

except :
	c = 0
else :
	 c = 1
finally :
	print "exemplo de processamento de excecoes"

print c

b = 1
try :
	c = a / b
except :
	c = 0
else :
	 c = 1
finally :
	print "exemplo de processamento de excecoes"

print c


b = 0
try :
	c = a / b
except ZeroDivisionError:
	c = 2
except :
	c = 0
else:
	c = 1
finally :
	print " exemplo de processamento de excecoes "

print c
